<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/common/common.jsp"%>
<%@ include file="/WEB-INF/common/taglib.jsp"%>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<script type="text/javascript">
		$(function(){
			$('.form_datetime').datetimepicker({
				language:'zh-CN',
				format: "yyyy-mm-dd hh:ii:ss",
				weekStart: 1,
		        autoclose: true,
		        todayBtn: true,
				todayHighlight: 1,
				startView: 'month',
				forceParse: true,
		        showMeridian: 1
			});
		});
	</script>
</head>
<body style='width:100%;height:100%;overflow:scroll;overflow-x:hidden'>
	<div class="container bs-docs-container" style="width:100%;">
		<div class="row">
			<form role="pageForm" class="form-inline" action="<%=path%>/web/person/queryPageList.do" method="post"  id="pageForm" class="form-search">
				<div  class="col-md-12" style="width:100%;padding:5px;">
					<div class="panel panel-default">
						  <div class="panel-heading">业主及其名下房产信息</div>
						  <div class="panel-body">
					
						        <div class="col-md-12 col-sm-12 col-xs-12 table-responsive"  style="padding-top: 5px;">
						        <table class="table table-striped table-condensed">
							        <thead>
							        	<tr class="active">
											<th>身份证号</th>
											<th>姓名</th>
											<th>籍贯</th>
											<th>性别</th>
			                			</tr>
							        </thead>
							        <tbody>
									        <c:choose>
												<c:when test="${not empty pagination}">
													<c:forEach items="${pagination.items}" var="info" varStatus="vs">
														<tr>
															
															<td>${info.personID}</td>
															<td>${info.personName}</td>
															<td>${info.hometown}</td>
															<td>${info.sex}</td>
														</tr>
													</c:forEach>
												</c:when>
												<c:otherwise>
														<tr><td colspan="100">没有相关数据</td></tr>
												</c:otherwise>
											</c:choose>
							         </tbody> 
							        
							         <thead> 	
							         	<tr class="active">
							        		<th>序号</th>
											<th>房产证编号</th>
											<th>户型</th>
											<th>面积</th>
											<th>房屋地址</th>
											<th>所在区</th>
											<th>成交价格</th>

			                			</tr>
							        </thead>
							        
							        <tbody>
									        <c:choose>
												<c:when test="${not empty houseCards}">
													<c:forEach items="${houseCards}" var="info" varStatus="vs">
														<tr>
															<td>${vs.index+1}</td>
															<td>${info.cardno}</td>
															<td>${info.housetype}</td>
															<td>${info.acreage}</td>
															<td>${info.houseaddress}</td>
															<td>${info.locationarea}</td>
															<td>${info.price}</td>

														</tr>
													</c:forEach>
												</c:when>
												<c:otherwise>
														<tr><td colspan="100">没有相关数据</td></tr>
												</c:otherwise>
											</c:choose>
							         </tbody>				 		         
							         
							    </table>
							    </div>

						  </div>	
					</div>
				</div>  
			</form>
		</div>
	</div>
</body>
</html>